home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 June / CHIP Turkiye Haziran 1997.iso / oyun / wr3d / stunt_1 / xst1eu01.x < prev    next >
Text File  |  1997-02-18  |  5KB  |  260 lines

  1. xof 0302txt 0064
  2. template Header {
  3.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  4.  WORD major;
  5.  WORD minor;
  6.  DWORD flags;
  7. }
  8.  
  9. template Vector {
  10.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  11.  FLOAT x;
  12.  FLOAT y;
  13.  FLOAT z;
  14. }
  15.  
  16. template Coords2d {
  17.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  18.  FLOAT u;
  19.  FLOAT v;
  20. }
  21.  
  22. template Matrix4x4 {
  23.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  24.  array FLOAT matrix[16];
  25. }
  26.  
  27. template ColorRGBA {
  28.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  29.  FLOAT red;
  30.  FLOAT green;
  31.  FLOAT blue;
  32.  FLOAT alpha;
  33. }
  34.  
  35. template ColorRGB {
  36.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  37.  FLOAT red;
  38.  FLOAT green;
  39.  FLOAT blue;
  40. }
  41.  
  42. template IndexedColor {
  43.  <1630B820-7842-11cf-8F52-0040333594A3>
  44.  DWORD index;
  45.  ColorRGBA indexColor;
  46. }
  47.  
  48. template Boolean {
  49.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  50.  WORD truefalse;
  51. }
  52.  
  53. template Boolean2d {
  54.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  55.  Boolean u;
  56.  Boolean v;
  57. }
  58.  
  59. template MaterialWrap {
  60.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  61.  Boolean u;
  62.  Boolean v;
  63. }
  64.  
  65. template TextureFilename {
  66.  <A42790E1-7810-11cf-8F52-0040333594A3>
  67.  STRING filename;
  68. }
  69.  
  70. template Material {
  71.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  72.  ColorRGBA faceColor;
  73.  FLOAT power;
  74.  ColorRGB specularColor;
  75.  ColorRGB emissiveColor;
  76.  [...]
  77. }
  78.  
  79. template MeshFace {
  80.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  81.  DWORD nFaceVertexIndices;
  82.  array DWORD faceVertexIndices[nFaceVertexIndices];
  83. }
  84.  
  85. template MeshFaceWraps {
  86.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  87.  DWORD nFaceWrapValues;
  88.  Boolean2d faceWrapValues;
  89. }
  90.  
  91. template MeshTextureCoords {
  92.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  93.  DWORD nTextureCoords;
  94.  array Coords2d textureCoords[nTextureCoords];
  95. }
  96.  
  97. template MeshMaterialList {
  98.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  99.  DWORD nMaterials;
  100.  DWORD nFaceIndexes;
  101.  array DWORD faceIndexes[nFaceIndexes];
  102.  [Material]
  103. }
  104.  
  105. template MeshNormals {
  106.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  107.  DWORD nNormals;
  108.  array Vector normals[nNormals];
  109.  DWORD nFaceNormals;
  110.  array MeshFace faceNormals[nFaceNormals];
  111. }
  112.  
  113. template MeshVertexColors {
  114.  <1630B821-7842-11cf-8F52-0040333594A3>
  115.  DWORD nVertexColors;
  116.  array IndexedColor vertexColors[nVertexColors];
  117. }
  118.  
  119. template Mesh {
  120.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  121.  DWORD nVertices;
  122.  array Vector vertices[nVertices];
  123.  DWORD nFaces;
  124.  array MeshFace faces[nFaces];
  125.  [...]
  126. }
  127.  
  128. Header {
  129.  1;
  130.  0;
  131.  1;
  132. }
  133.  
  134. Mesh {
  135.  20;
  136.  163.657944;230.203217;1118.430054;,
  137.  163.657944;176.282990;1118.430054;,
  138.  62.556419;176.283234;1118.430054;,
  139.  62.557835;230.203217;1118.430054;,
  140.  905.366699;639.417908;4049.249268;,
  141.  905.366699;598.977783;4049.249268;,
  142.  851.750305;598.978027;3995.633057;,
  143.  851.750305;639.417908;3995.633057;,
  144.  580.143860;640.122070;3997.017578;,
  145.  580.143860;599.688538;3997.017578;,
  146.  526.527527;599.688721;4050.633789;,
  147.  526.527527;640.122070;4050.633789;,
  148.  580.137878;640.122070;3997.026367;,
  149.  580.137878;599.686462;3997.026367;,
  150.  526.521484;599.686646;4050.642578;,
  151.  526.521484;640.122070;4050.642578;,
  152.  905.366699;639.417908;4049.249268;,
  153.  905.366699;598.977783;4049.249268;,
  154.  851.750305;598.978027;3995.633057;,
  155.  851.750305;639.417908;3995.633057;;
  156.  
  157.  10;
  158.  3;0,2,1;,
  159.  3;2,0,3;,
  160.  3;4,6,5;,
  161.  3;6,4,7;,
  162.  3;8,10,9;,
  163.  3;10,8,11;,
  164.  3;14,12,13;,
  165.  3;12,14,15;,
  166.  3;18,16,17;,
  167.  3;16,18,19;;
  168.  
  169.  MeshMaterialList {
  170.   2;
  171.   10;
  172.   0,
  173.   0,
  174.   1,
  175.   1,
  176.   1,
  177.   1,
  178.   1,
  179.   1,
  180.   1,
  181.   1;
  182.   Material {
  183.    1.000000;1.000000;1.000000;1.000000;;
  184.    15.000000;
  185.    1.000000;1.000000;1.000000;;
  186.    0.000000;0.000000;0.000000;;
  187.    TextureFilename {
  188.     "bb_ad2.tga";
  189.    }
  190.   }
  191.   Material {
  192.    1.000000;1.000000;1.000000;1.000000;;
  193.    15.000000;
  194.    1.000000;1.000000;1.000000;;
  195.    0.000000;0.000000;0.000000;;
  196.    TextureFilename {
  197.     "bb_ad1.tga";
  198.    }
  199.   }
  200.  }
  201.  MeshNormals {
  202.   20;
  203.   0.000000;0.000000;1.000000;,
  204.   0.000000;0.000000;1.000000;,
  205.   0.000000;0.000000;1.000000;,
  206.   0.000000;-0.000000;1.000000;,
  207.   -0.707106;-0.000000;0.707108;,
  208.   -0.707106;-0.000000;0.707108;,
  209.   -0.707106;-0.000000;0.707108;,
  210.   -0.707106;0.000000;0.707108;,
  211.   0.707106;-0.000000;0.707108;,
  212.   0.707106;-0.000000;0.707108;,
  213.   0.707106;-0.000000;0.707108;,
  214.   0.707106;-0.000000;0.707108;,
  215.   -0.707106;0.000000;-0.707108;,
  216.   -0.707106;0.000000;-0.707108;,
  217.   -0.707106;0.000000;-0.707108;,
  218.   -0.707106;0.000000;-0.707108;,
  219.   0.707106;0.000000;-0.707108;,
  220.   0.707106;0.000000;-0.707108;,
  221.   0.707106;0.000000;-0.707108;,
  222.   0.707106;-0.000000;-0.707108;;
  223.  
  224.   10;
  225.   3;0,2,1;,
  226.   3;2,0,3;,
  227.   3;4,6,5;,
  228.   3;6,4,7;,
  229.   3;8,10,9;,
  230.   3;10,8,11;,
  231.   3;14,12,13;,
  232.   3;12,14,15;,
  233.   3;18,16,17;,
  234.   3;16,18,19;;
  235.  }
  236.  MeshTextureCoords {
  237.   20;
  238.   -0.000156;-0.000074;,
  239.   -0.000156;0.999920;,
  240.   0.999996;0.999915;,
  241.   0.999996;-0.000074;,
  242.   -0.000156;-0.000074;,
  243.   -0.000156;0.999920;,
  244.   0.999996;0.999915;,
  245.   0.999996;-0.000074;,
  246.   -0.000156;-0.000074;,
  247.   -0.000156;0.999920;,
  248.   0.999996;0.999915;,
  249.   0.999996;-0.000074;,
  250.   -0.000156;-0.000074;,
  251.   -0.000156;0.999920;,
  252.   0.999996;0.999915;,
  253.   0.999996;-0.000074;,
  254.   -0.000156;-0.000074;,
  255.   -0.000156;0.999920;,
  256.   0.999996;0.999915;,
  257.   0.999996;-0.000074;;
  258.  }
  259. }
  260.